Package com.cisco.pt.ipc.sim.pdu.impl
Class LLCHeaderImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.LLCHeaderImpl
- Direct Known Subclasses:
SnapLLCHeaderImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Byteprotected Stringprotected intprotected ByteFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getDsap()getFieldType(String fieldName) intgetSsap()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetControlField(String controlField) voidvoidsetInfoField(String infoField) voidsetLength(int length) voidMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
dsap
-
ssap
-
controlField
-
infoField
-
length
protected int length
-
-
Constructor Details
-
LLCHeaderImpl
public LLCHeaderImpl()
-
-
Method Details
-
getDsap
-
setDsap
-
getSsap
-
setSsap
-
getControlField
- Specified by:
getControlFieldin interfaceLLCHeader- Returns:
- String Returns a String
-
setControlField
- Specified by:
setControlFieldin interfaceLLCHeader- Parameters:
controlField- Takes in a parameter of controlField
-
getInfoField
- Specified by:
getInfoFieldin interfaceLLCHeader- Returns:
- String Returns a String
-
setInfoField
- Specified by:
setInfoFieldin interfaceLLCHeader- Parameters:
infoField- Takes in a parameter of infoField
-
getLength
public int getLength() -
setLength
public void setLength(int length) -
getFieldType
- Overrides:
getFieldTypein classHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classHeaderImpl
-